package com.ysx.oa.role.bean;

import com.ysx.oa.user.bean.UserBean;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * @Author: 王伟雄
 * @Date: 2021/11/20 16:19
 */
@Table(name="kaoqin_user_role_rs")
@Data
public class UserRoleBean {
    @Id
    @Column(name="ID")
    private Integer id;
    @Column(name="USER_ID")
    private Integer userId;
    @Column(name="ROLE_ID")
    private Integer roleId;
    @Column(name="BEGIN_TIME")
    private String beginTime;
    @Column(name="END_TIME")
    private String endTime;
    @Transient
    private Integer count;
    @Transient
    private String userName;
    @Transient
    private String roleName;
    @Transient
    private String phone;

}
